<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        护理确认
    </title>
    <style>
        .mes {
            text-indent: 2em;
            line-height: 24px;
            text-align: center;
        }
    </style>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../css/x-admin.css" media="all">
    <link rel="stylesheet" href="../css/pag.css" media="all">
    <link type="text/css" rel="stylesheet" href="../js/jedate/test/jeDate-test.css">
    <link type="text/css" rel="stylesheet" href="../js/jedate/skin/jedate.css">
    <script type="text/javascript" src="../js/jedate/src/jedate.js"></script>
</head>
<body>
<div class="x-body">
    <form class="layui-form" id="doForm" action="/doYZ" method="post">
        <table>
            <tr class="mes">
                <td>日期：</td>
                <td><fmt:formatDate value="${zuyuanyz.ZDate}" pattern="YYYY-MM-dd"/></td>
            </tr>
            <tr class="mes">
                <td>时间：</td>
                <td><fmt:formatDate value="${zuyuanyz.ZTime}" pattern="hh:mm"/></td>
            </tr>
            <tr class="mes">
                <td id="zhuyuanhao">住院号：</td>
                <td>${zuyuanyz.userId}</td>
            </tr>
            <tr class="mes">
                <td>姓名：</td>
                <td>${zuyuanyz.yuName}</td>
            </tr>
            <tr class="mes">
                <td>床号：</td>
                <td>${zuyuanyz.bNo}</td>
            </tr>
            <tr class="mes">
                <td>医嘱：</td>
                <td>${zuyuanyz.zsummary}</td>
            </tr>
            <tr class="mes">
                <td>主治医师：</td>
                <td>${zuyuanyz.ydName}</td>
            </tr>
            <tr>
                <td>
                    <label class="jelabel" style="text-align: right">执行时间：</label>
                </td>
                <td>
                    <div class="jeinpbox"><input style="text-indent: 4em;" type="text" name="doTime" class="jeinput" id="test04" placeholder="请选择执行时间"></div>
                </td>
            </tr>
        </table>
        <<input type="hidden" name="zId" value="${zuyuanyz.ZId}">
        <div class="layui-form-item">
            <label class="layui-form-label">
            </label>
            <button class="layui-btn" type="submit" style="margin-top: 20px;margin-left: 80px">
                确定执行
            </button>
        </div>
    </form>
</div>

<script src="../lib/layui/layui.js" charset="utf-8"></script>
<script src="../js/x-layui.js" charset="utf-8"></script>
<script src="../js/jquery2.js" charset="utf-8"></script>
<script src="../js/js.js" charset="utf-8"></script>
<script>
    layui.use(['laydate', 'element', 'laypage', 'layer'], function () {
        $ = layui.jquery;//jquery
        lement = layui.element();//面包导航
        laypage = layui.laypage;//分页
        layer = layui.layer;//弹出层

    });
    $('.tablelist tbody tr:odd').addClass('odd');

    var enLang = {
        name: "en",
        month: ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"],
        weeks: ["SUN", "MON", "TUR", "WED", "THU", "FRI", "SAT"],
        times: ["Hour", "Minute", "Second"],
        timetxt: ["Time", "Start Time", "End Time"],
        backtxt: "Back",
        clear: "Clear",
        today: "Now",
        yes: "Confirm",
        close: "Close"
    }
    jeDate("#test04", {
        festival: true,
        minDate: "1900-01-01",              //最小日期
        maxDate: "2099-12-31",              //最大日期
        method: {
            choose: function (params) {
            }
        },
        format: "YYYY-MM-DD hh:mm:ss"
    });
    // $(".layui-btn").bind("click", function () {
    //     $("#doForm").submit();
        // var index = parent.layer.getFrameIndex(window.name);
    // parent.location.href="zyhl";
    // parent.layer.close(index);
    // })
    $('tr:odd').addClass('odd');
</script>
</body>
</html>